package com.example.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Getter;

import java.util.Date;

@Data
@Getter
@TableName("ygc_user")
public class ygc_user {
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;
    @TableField(value = "name")
    private String  name;
    @TableField(value = "age")
    private Integer age;
    @TableField(value = "sex")
    private String  sex;
    @TableField(value = "e_mail")
    private String email;
    @TableField(value = "version",fill = FieldFill.UPDATE)
    private Integer version;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date    createTime;
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private  String createBy;
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private  Date updateTime;
    @TableField(value = "update_by",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(value = "delete_flag")
    private Integer deleteFlag;
    @TableField(value = "remark")
    private  String remark;

}
